﻿using System.Collections.Generic;
using cit.CopyDetection.DataObject;

namespace cit.CopyDetection.Model
{
    public class NoWtFunc: IGlobalWtFunc
    {
        #region IGlobalWtScheme Members

        public List<double> ComputeGlobalWeights(List<Term> vocabulary, int nparas)
        {
            int size = vocabulary.Count;
            List<double> globalValues = new List<double>(size);
            for (int i = 0; i < size; i++)
            {
                globalValues.Insert(i, 1D);
            }
            return globalValues;
        }

        #endregion
    }
}
